package com.lianxian.xindong.home.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.hxb.library.di.component.AppComponent;

import com.lianxian.xindong.home.di.module.CirclePublishModule;
import com.lianxian.xindong.home.mvp.contract.CirclePublishContract;

import com.hxb.library.di.scope.ActivityScope;
import com.lianxian.xindong.home.mvp.ui.activity.CirclePublishActivity;


/**
 * @作者：hexingbo
 * @时间：07/05/2023
 * @描述：
 */
@ActivityScope
@Component(modules = CirclePublishModule.class, dependencies = AppComponent.class)
public interface CirclePublishComponent {
    void inject(CirclePublishActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        CirclePublishComponent.Builder view(CirclePublishContract.View view);

        CirclePublishComponent.Builder appComponent(AppComponent appComponent);

        CirclePublishComponent build();
    }
}